package com.jwx.mycar.mapper;

import com.jwx.mycar.entity.po.Reply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description:
 * @author: jwx
 * @time: 2019/11/27 20:25
 */
@Mapper
public interface ReplyMapper {
    public boolean add(Reply reply);
    /**
     *
     * @description: 根据id删除回复
     * @param null
     * @return:
     * @author: jwx
     * @time: 2019/11/27 21:04
     */

    boolean deleteById(String replyId);
/**
 *
 * @description: 根据draftId获取所有评论
 * @param null
 * @return:
 * @author: jwx
 * @time: 2019/12/6 17:04
 */


    List<Reply> getAll(String draftId);
}
